﻿using System;

namespace Model
{
    public class QS_PLANWEEK_DETAIL
    {
        /// <summary>
        /// ID
        /// </summary>
        public decimal N_WEEKDETAIL_ID { get; set; }

        /// <summary>
        /// 周计划主表
        /// </summary>
        public decimal N_WEEKAPP_ID { get; set; }

        /// <summary>
        /// 项目id
        /// </summary>
        public decimal N_PROID { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string C_PRONAME { get; set; }

        /// <summary>
        /// 资金计划(实际金额)
        /// </summary>
        public decimal N_AMOUNT { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string C_REMARK { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public decimal N_OPERATORID { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime D_OPERATORTIME { get; set; }

        /// <summary>
        /// 业务编号
        /// </summary>
        public decimal N_BUSINESS_ID { get; set; }

        /// <summary>
        /// 0 主节点  1分节点  2子节点（可录入数据）
        /// </summary>
        public decimal N_TYPE { get; set; }

        /// <summary>
        /// 本月累计已拨付资金
        /// </summary>
        public decimal N_SYAMOUNT { get; set; }

        /// <summary>
        /// 本周使用资金
        /// </summary>
        public decimal N_USEAMOUNT { get; set; }

        /// <summary>
        /// 本月计划资金
        /// </summary>
        public decimal N_MONTHAMOUNT { get; set; }

        /// <summary>
        /// 银行流水匹配编号
        /// </summary>
        public string C_PROWEEKNUM { get; set; }

        /// <summary>
        /// 顺序一
        /// </summary>
        public decimal N_NUM1 { get; set; }

        /// <summary>
        /// 顺序二
        /// </summary>
        public decimal N_NUM2 { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string C_PRONUM { get; set; }

        /// <summary>
        /// 交易类型 1 现金流入 2现金流出
        /// </summary>
        public decimal N_TYPE2 { get; set; }

        /// <summary>
        /// 是否有明细子表 1有 0无
        /// </summary>
        public decimal N_IF_DETAILS { get; set; }

        /// <summary>
        /// 附件子表
        /// </summary>
        public string C_DETAILS_CODE { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        public decimal N_PARENTID { get; set; }

        /// <summary>
        /// 本周上报资金计划
        /// </summary>
        public decimal N_AMOUNT1 { get; set; }

        /// <summary>
        /// 本周资金计划审批金额
        /// </summary>
        public decimal N_AMOUNT2 { get; set; }

        /// <summary>
        /// 审批意见
        /// </summary>
        public string C_REMARK2 { get; set; }
    }
}